package com.xunhuan;

public class DoWhile {
    public static void main(String[] args) {
        int i = 0;
        int num = 0;
        do {
            num = num +i;
            i++;
        }while (i<=100);
        System.out.println(num);
    }
}
